package day003.homewordk;

public class Practice004 {
    public static void main(String[] args) {
        System.out.println("1988年-2024年之间的闰年如下：");
        for (int i = 1988; i < 2024; i++) {
            if ((i % 4 == 0 && i % 100 != 0) || i % 400 == 0) {
                System.out.println(i);
            }
        }
    }
}
